﻿// -----------------------------------------------------------------------
// <copyright file="DriveNotFoundException.cs" company="Company">
// Company 2011
// </copyright>
// -----------------------------------------------------------------------

using System;
using System.Runtime.InteropServices;
using Company.IO.Interfaces;

namespace Company.System.IO
{
    /// <summary>
    /// The exception that is thrown when part of a drive cannot be found.
    /// </summary>
    [Serializable]
    [Guid("ea56c30b-ef7a-47a0-a4f3-dc02b386ee50")]
    public class DriveNotFoundException : Exception, IDriveNotFoundException
    {
        /// <summary>
        /// Initializes a new instance of the DriveNotFoundException class
        /// </summary>
        /// <param name="systemIoConverter">The converter to use</param>
        /// <param name="driveNotFoundException">The DriveNotFoundException object</param>
        public DriveNotFoundException(ISystemIoConverter systemIoConverter,
                                      global::System.IO.DriveNotFoundException driveNotFoundException)
            : base(systemIoConverter, driveNotFoundException)
        {
        }
    }
}